-- GENERATED SPELL FOR [Muckshell Clacker] --


function spell0_4401(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4401', 8000, 1)
end

function Sorts_4401(pUnit, Event)
local choix_sorts_4401 = math.random(0, 0)
if choix_sorts_4401 == 0 then
pUnit:RegisterEvent('spell0_4401', 1, 1)
end
end

function mob4401_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4401', math.random(1500, 3000), 1)
end

function mob4401_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4401_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4401_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4401, 1, 'mob4401_Action')
RegisterUnitEvent(4401, 2, 'mob4401_Leave')
RegisterUnitEvent(4401, 3, 'mob4401_Kill')
RegisterUnitEvent(4401, 4, 'mob4401_Die')
